<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:include="layout :: htmlhead" th:with="title='后台管理'"></head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <!--头-->
    <div th:replace="fragments/head :: header"></div>

    <div class="layui-body" style="margin: 1%">

        <blockquote class="layui-elem-quote">荣誉资质证书上传</blockquote>
        <form class="layui-form layui-form-pane" action="">

            <div class="layui-form-item">
                <div class="layui-upload">
                    <button type="button" class="layui-btn" id="credentialImg" style="width: 300px;">荣誉资质证书</button>
                    <div class="layui-upload-list">
                        <img class="layui-upload-img" id="credentialPhoto"
                             style="width: 300px; height: 200px; margin: 0 10px 10px 0;">
                        <p id="credentialText"></p>
                    </div>
                </div>
                <div class="layui-form-mid layui-word-aux">请上传荣誉资质证书</div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block" style="margin-left: 10px">
                    <button class="layui-btn" lay-submit lay-filter="formCredential">提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>
        </form>

    </div>


    <!--底部-->
    <div th:replace="fragments/footer :: footer"></div>
    <script src="/js/dateUtils.js"></script>
    <script src="/js/checkParam.js"></script>
    <script src="/js/manage/credentialManage.js"></script>

</div>
</body>
</html>